Minimum projective linearizations of trees in linear time
نویسندگان
چکیده
The Minimum Linear Arrangement problem (MLA) consists of finding a mapping $\pi$ from vertices graph to distinct integers that minimizes $\sum_{\{u,v\}\in E}|\pi(u) - \pi(v)|$. In setting, are often assumed lie on horizontal line and edges drawn as semicircles above said line. For trees, various algorithms available solve the in polynomial time $n=|V|$. There exist variants MLA which arrangements constrained. Iordanskii, later Hochberg Stallmann (HS), put forward $O(n)$-time when constrained be planar (also known one-page book embeddings). We also consider linear rooted trees projective (planar embeddings where root is not covered by any edge). Gildea Temperley (GT) sketched an algorithm for they claimed runs $O(n)$ but did provide justification its cost. contrast, Park Levy GT's $O(n \log d_{max})$ $d_{max}$ maximum degree sufficient detail. Here we correct error HS's case, show relationship with derive simple cases run without doubt time.
منابع مشابه
Near-linear Time Algorithms for Approximate Minimum Degree Spanning Trees
Given a graph G = (V,E), n = |V |,m = |E|, we wish to compute a spanning tree whose maximum vertex degree is as small as possible. Computing the exact optimal solution is known to be NP-hard, since it generalizes the Hamiltonian path problem. For the approximation version of this problem, a Õ(mn) time algorithm that computes a spanning tree of degree at most ∆∗+1 is previously known [Fürer, Rag...
متن کاملMinimax Trees in Linear Time
A minimax tree is similar to a Huffman tree except that, instead of minimizing the weighted average of the leaves’ depths, it minimizes the maximum of any leaf’s weight plus its depth. Golumbic (1976) introduced minimax trees and gave a Huffman-like, O(n log n)-time algorithm for building them. Drmota and Szpankowski (2002) gave another O(n log n)-time algorithm, which checks the Kraft Inequali...
متن کاملDistinguishing Trees in Linear Time
4 A graph is said to be d-distinguishable if there exists a d-labeling of its vertices which is 5 only preserved by the identity map. The distinguishing number of a graph G is the smallest 6 number d for which G is d-distinguishable. We show that the distinguishing number of trees 7 and forests can be computed in linear time, improving the previously known O(n log n) time 8 algorithm. 9
متن کاملVerification and Sensitivity Analysis of Minimum Spanning Trees in Linear Time
Koml os has devised a way to use a linear number of binary comparisons to test whether a given spanning tree of a graph with edge costs is a minimum spanning tree. The total computational work required by his method is much larger than linear, however. We describe a linear-time algorithm for verifying a minimum spanning tree. Our algorithm combines the result of Koml os with a preprocessing and...
متن کاملComputing Minimum Cycle Bases in Weighted Partial 2-Trees in Linear Time
We present a linear time algorithm for computing an implicit linear space representation of a minimum cycle basis in weighted partial 2-trees (i.e., graphs of treewidth at most two) with nonnegative edge-weights. The implicit representation can be made explicit in a running time that is proportional to the size of the minimum cycle basis. For planar graphs, Borradaile, Sankowski, and Wulff-Nils...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Information Processing Letters
سال: 2022
ISSN: ['1872-6119', '0020-0190']
DOI: https://doi.org/10.1016/j.ipl.2021.106204